//
//  ZBDrawingTool.h
//  ZBDrawingTool
//
//  Created by apple on 2018/7/6.
//  Copyright © 2018年 apple. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ZBDrawingView.h"

@interface ZBDrawingTool : NSObject

/**
 创建画板操作工具

 @param drawingView 面板
 @return 操作工具
 */
+ (ZBDrawingTool *)drawingToolWithDrawingView:(ZBDrawingView *)drawingView;

/**
 * 清除面板操作
 */
- (void)cleanDrawingView;

/**
 * 返回上一步面板操作
 */
- (void)undoDrawingView;

/**
  保存绘画图片到相册
 */
- (void)saveDrawingImageToAlumImage;

/**
  获取图片
 */
- (UIImage *)getDrawingImage;
@end
